package android.game;

public class WalkingDead {
	public static final int TYPE_1 = 0;
    public static final int TYPE_2 = 1;
    public static final int TYPE_3 = 2;
    public int x, y;
    public int type;
    public float scale = 0.2f;
    
    public WalkingDead(int x,int y,int type){
    	this.x=x;
    	this.y=y;
    	this.type=type;
    }
    public void advance(){
    	if(scale<=1){
			x-=10;
			y-=10;
			scale += 0.1f;
		}
    	y += (5*scale);
    }
}
